package com.feicheng.controller.main.admin.pay;


import com.feicheng.common.result.ResultInfo;
import com.feicheng.common.wx.pay.WxPayBean;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-02
 */
@RestController
@RequestMapping("/main/admin/pay/payment-record")
public class PaymentRecordController {

    @Resource(name = "store-wx-pay")
    Map<String, WxPayBean> storeWxPayService;

    @GetMapping("/test")
    public ResultInfo testPay(String tradeNo, Integer amount) {
        return ResultInfo.success();
    }
}
